CXXFLAGS=-ansi -Wall
all:
	g++ $(CXXFLAGS) -I/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/plugin/include -fPIC -shared src/gcc_interface.cpp src/test_generator_plugin.cpp -o plugin.so
	g++ $(CXXFLAGS) -S -fplugin=./plugin.so test.cpp 

clean:
	rm plugin.so
